package com.asion.vmovie.beans;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by asion on 16-10-17.
 */

public class CommentBean {


    /**
     * status : 0
     * msg : OK
     * total_num : 15
     * data : [{"commentid":"302686","isrecommend":"0","count_approve":"0","has_approve":"0","content":"让大脑休憩","addtime":"1476682103","userinfo":{"userid":"1043946","username":"@","avatar":"http://cs.vmoiver.com/Uploads/avatar/2016/10/15/5801b4c085560_80.jpeg","isadmin":"0","is_xpc_author":"0"},"reply_username":"","reply_user_isadmin":"","reply_userinfo":[],"subcomment":[]},{"commentid":"302397","isrecommend":"0","count_approve":"0","has_approve":"0","content":"麻豆好辛苦","addtime":"1476593949","userinfo":{"userid":"923226","username":"Tempérament","avatar":"http://cs.vmoiver.com/Uploads/avatar/2016/05/03/57289bd1922af_80.jpeg","isadmin":"0","is_xpc_author":"0"},"reply_username":"","reply_user_isadmin":"","reply_userinfo":[],"subcomment":[]},{"commentid":"302329","isrecommend":"0","count_approve":"0","has_approve":"0","content":"真是的，有恋人的镜头总是美的！我的恋人，你在哪里！快回来我身边！","addtime":"1476584633","userinfo":{"userid":"837308","username":"rararawraw1","avatar":"http://cs.vmovier.com/Public/Home/images/avatar/a_80.jpeg","isadmin":"0","is_xpc_author":"0"},"reply_username":"","reply_user_isadmin":"","reply_userinfo":[],"subcomment":[]},{"commentid":"302271","isrecommend":"0","count_approve":"0","has_approve":"0","content":"只有这样才能体会到","addtime":"1476541278","userinfo":{"userid":"1023206","username":"轻","avatar":"http://cs.vmoiver.com/Uploads/avatar/2016/09/16/57dbd919067f2_80.jpeg","isadmin":"0","is_xpc_author":"0"},"reply_username":"","reply_user_isadmin":"","reply_userinfo":[],"subcomment":[]},{"commentid":"301974","isrecommend":"0","count_approve":"0","has_approve":"0","content":"二班的美[赞]","addtime":"1476450456","userinfo":{"userid":"963205","username":"小妖精","avatar":"http://cs.vmoiver.com/Uploads/avatar/2016/06/17/57641d77412b0_80.jpeg","isadmin":"0","is_xpc_author":"0"},"reply_username":"","reply_user_isadmin":"","reply_userinfo":[],"subcomment":[]},{"commentid":"301971","isrecommend":"0","count_approve":"0","has_approve":"0","content":"唯美","addtime":"1476450086","userinfo":{"userid":"1043544","username":"李昂&Leeon","avatar":"http://cs.vmoiver.com/Uploads/avatar/2016/10/14/5800d71ff0357_80.jpeg","isadmin":"0","is_xpc_author":"0"},"reply_username":"","reply_user_isadmin":"","reply_userinfo":[],"subcomment":[]},{"commentid":"301957","isrecommend":"0","count_approve":"1","has_approve":"0","content":"真美。。。","addtime":"1476445260","userinfo":{"userid":"1040454","username":"Mhy.me","avatar":"http://cs.vmoiver.com/Uploads/avatar/2016/10/10/57fb544f5dc46_80.jpeg","isadmin":"0","is_xpc_author":"0"},"reply_username":"","reply_user_isadmin":"","reply_userinfo":[],"subcomment":[]},{"commentid":"301906","isrecommend":"0","count_approve":"1","has_approve":"0","content":"坐河边那段好震撼","addtime":"1476432879","userinfo":{"userid":"930670","username":"~!~","avatar":"http://cs.vmoiver.com/Uploads/avatar/2016/05/12/5734a167d0f04_80.jpeg","isadmin":"0","is_xpc_author":"0"},"reply_username":"","reply_user_isadmin":"","reply_userinfo":[],"subcomment":[]},{"commentid":"301868","isrecommend":"0","count_approve":"1","has_approve":"0","content":"拍的时候一直傻站着，夜那么黑，星星也不闪亮，有点233。哈哈。","addtime":"1476426386","userinfo":{"userid":"617786","username":"暖男爱吃辣条","avatar":"http://apiv2.vmovier.com/Public/Api/images/avatar/a_80.jpeg","isadmin":"0","is_xpc_author":"0"},"reply_username":"","reply_user_isadmin":"","reply_userinfo":[],"subcomment":[]},{"commentid":"301821","isrecommend":"0","count_approve":"0","has_approve":"0","content":"好震撼","addtime":"1476416481","userinfo":{"userid":"831840","username":"雕刻时光","avatar":"http://cs.vmovier.com/Public/Home/images/avatar/a_80.jpeg","isadmin":"0","is_xpc_author":"0"},"reply_username":"","reply_user_isadmin":"","reply_userinfo":[],"subcomment":[]}]
     */

    private String total_num;
    /**
     * commentid : 302686
     * isrecommend : 0
     * count_approve : 0
     * has_approve : 0
     * content : 让大脑休憩
     * addtime : 1476682103
     * userinfo : {"userid":"1043946","username":"@","avatar":"http://cs.vmoiver.com/Uploads/avatar/2016/10/15/5801b4c085560_80.jpeg","isadmin":"0","is_xpc_author":"0"}
     * reply_username :
     * reply_user_isadmin :
     * reply_userinfo : []
     * subcomment : []
     */

    @SerializedName("data")
    private List<DataBean> data;

    public String getTotal_num() {
        return total_num;
    }

    public void setTotal_num(String total_num) {
        this.total_num = total_num;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        @SerializedName("commentid")
        private String commentid;
        @SerializedName("content")
        private String content;
        @SerializedName("addtime")
        private String addtime;
        /**
         * userid : 1043946
         * username : @
         * avatar : http://cs.vmoiver.com/Uploads/avatar/2016/10/15/5801b4c085560_80.jpeg
         * isadmin : 0
         * is_xpc_author : 0
         */

        @SerializedName("userinfo")
        private UserinfoBean userinfo;

        public String getCommentid() {
            return commentid;
        }

        public void setCommentid(String commentid) {
            this.commentid = commentid;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getAddtime() {
            return addtime;
        }

        public void setAddtime(String addtime) {
            this.addtime = addtime;
        }

        public UserinfoBean getUserinfo() {
            return userinfo;
        }

        public void setUserinfo(UserinfoBean userinfo) {
            this.userinfo = userinfo;
        }

        public static class UserinfoBean {
            @SerializedName("userid")
            private String userid;
            @SerializedName("username")
            private String username;
            @SerializedName("avatar")
            private String avatar;

            public String getUserid() {
                return userid;
            }

            public void setUserid(String userid) {
                this.userid = userid;
            }

            public String getUsername() {
                return username;
            }

            public void setUsername(String username) {
                this.username = username;
            }

            public String getAvatar() {
                return avatar;
            }

            public void setAvatar(String avatar) {
                this.avatar = avatar;
            }
        }
    }
}
